<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Aria: ArSZSeriesPacketReceiver Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Aria
   &#160;<span id="projectnumber">2.9.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classArSZSeriesPacketReceiver.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classArSZSeriesPacketReceiver-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ArSZSeriesPacketReceiver Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Given a device connection it receives packets from the sick through it.  
 <a href="classArSZSeriesPacketReceiver.html#details">More...</a></p>

<p><code>#include &lt;ArSZSeries.h&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a193901449b901d1e399495c002ad5d7d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a193901449b901d1e399495c002ad5d7d"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArSZSeriesPacketReceiver.html#a193901449b901d1e399495c002ad5d7d">ArSZSeriesPacketReceiver</a> ()</td></tr>
<tr class="memdesc:a193901449b901d1e399495c002ad5d7d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor with assignment of a device connection. <br /></td></tr>
<tr class="separator:a193901449b901d1e399495c002ad5d7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8f2a9b94b6f8bd1683e9bfbde0083b7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa8f2a9b94b6f8bd1683e9bfbde0083b7"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><b>CRC16</b> (unsigned char *, int)</td></tr>
<tr class="separator:aa8f2a9b94b6f8bd1683e9bfbde0083b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b2ed47a9f6c80b71fbfd03ec27a238b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3b2ed47a9f6c80b71fbfd03ec27a238b"></a>
<a class="el" href="classArDeviceConnection.html">ArDeviceConnection</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArSZSeriesPacketReceiver.html#a3b2ed47a9f6c80b71fbfd03ec27a238b">getDeviceConnection</a> (void)</td></tr>
<tr class="memdesc:a3b2ed47a9f6c80b71fbfd03ec27a238b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the device this instance receives packets from. <br /></td></tr>
<tr class="separator:a3b2ed47a9f6c80b71fbfd03ec27a238b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec2734339b52378d278492ba8495b396"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aec2734339b52378d278492ba8495b396"></a>
ArSZSeriesPacket *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArSZSeriesPacketReceiver.html#aec2734339b52378d278492ba8495b396">receivePacket</a> (unsigned int msWait=0, bool shortcut=false)</td></tr>
<tr class="memdesc:aec2734339b52378d278492ba8495b396"><td class="mdescLeft">&#160;</td><td class="mdescRight">Receives a packet from the robot if there is one available. <br /></td></tr>
<tr class="separator:aec2734339b52378d278492ba8495b396"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04d92507ae98f45c6d2d871d72c71ae7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a04d92507ae98f45c6d2d871d72c71ae7"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArSZSeriesPacketReceiver.html#a04d92507ae98f45c6d2d871d72c71ae7">setDeviceConnection</a> (<a class="el" href="classArDeviceConnection.html">ArDeviceConnection</a> *conn)</td></tr>
<tr class="memdesc:a04d92507ae98f45c6d2d871d72c71ae7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the device this instance receives packets from. <br /></td></tr>
<tr class="separator:a04d92507ae98f45c6d2d871d72c71ae7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac131ef81a51be59497030f54d0897151"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac131ef81a51be59497030f54d0897151"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setmyInfoLogLevel</b> (<a class="el" href="classArLog.html#ac8cc0fb3aa323ab2a1c21340fdd1dce3">ArLog::LogLevel</a> infoLogLevel)</td></tr>
<tr class="separator:ac131ef81a51be59497030f54d0897151"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3ab235c4a1992db5b255ccff1803e1c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af3ab235c4a1992db5b255ccff1803e1c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setmyIsSZ00</b> (bool isSZ00)</td></tr>
<tr class="separator:af3ab235c4a1992db5b255ccff1803e1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e0be086643bdc721725546206d90452"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1e0be086643bdc721725546206d90452"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setmyName</b> (const char *name)</td></tr>
<tr class="separator:a1e0be086643bdc721725546206d90452"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6a73bc7f6c919a60a697c7a93facb59"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad6a73bc7f6c919a60a697c7a93facb59"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArSZSeriesPacketReceiver.html#ad6a73bc7f6c919a60a697c7a93facb59">~ArSZSeriesPacketReceiver</a> ()</td></tr>
<tr class="memdesc:ad6a73bc7f6c919a60a697c7a93facb59"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:ad6a73bc7f6c919a60a697c7a93facb59"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a8facbad1141eabbd1441df65f341ef49"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8facbad1141eabbd1441df65f341ef49"></a>
<a class="el" href="classArDeviceConnection.html">ArDeviceConnection</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>myConn</b></td></tr>
<tr class="separator:a8facbad1141eabbd1441df65f341ef49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ff89d9297d847a3e833687b39ad0b44"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5ff89d9297d847a3e833687b39ad0b44"></a>
<a class="el" href="classArLog.html#ac8cc0fb3aa323ab2a1c21340fdd1dce3">ArLog::LogLevel</a>&#160;</td><td class="memItemRight" valign="bottom"><b>myInfoLogLevel</b></td></tr>
<tr class="separator:a5ff89d9297d847a3e833687b39ad0b44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83f994cb8e4175003c0c787449726d7b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a83f994cb8e4175003c0c787449726d7b"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>myIsSZ00</b></td></tr>
<tr class="separator:a83f994cb8e4175003c0c787449726d7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a216180c6e5aa4fe464f49d678b91f532"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a216180c6e5aa4fe464f49d678b91f532"></a>
char&#160;</td><td class="memItemRight" valign="bottom"><b>myName</b> [1024]</td></tr>
<tr class="separator:a216180c6e5aa4fe464f49d678b91f532"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a92ed28a0aa56cab984177ed558cfa6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9a92ed28a0aa56cab984177ed558cfa6"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>myNameLength</b></td></tr>
<tr class="separator:a9a92ed28a0aa56cab984177ed558cfa6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf36d06d571bb81d3674114f97d67629"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acf36d06d571bb81d3674114f97d67629"></a>
ArSZSeriesPacket&#160;</td><td class="memItemRight" valign="bottom"><b>myPacket</b></td></tr>
<tr class="separator:acf36d06d571bb81d3674114f97d67629"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8af014a0bc54c8df29776f25dc97bca7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8af014a0bc54c8df29776f25dc97bca7"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><b>myPrevCrc</b></td></tr>
<tr class="separator:a8af014a0bc54c8df29776f25dc97bca7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa16d30d5bf75f526e3ab7b47325fbb96"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa16d30d5bf75f526e3ab7b47325fbb96"></a>
unsigned char&#160;</td><td class="memItemRight" valign="bottom"><b>myReadBuf</b> [100000]</td></tr>
<tr class="separator:aa16d30d5bf75f526e3ab7b47325fbb96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac21593929141f0ec78266f2cedd38490"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac21593929141f0ec78266f2cedd38490"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>myReadCount</b></td></tr>
<tr class="separator:ac21593929141f0ec78266f2cedd38490"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Given a device connection it receives packets from the sick through it. </p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>ArSZSeries.h</li>
<li>ArSZSeries.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classArSZSeriesPacketReceiver.html">ArSZSeriesPacketReceiver</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
